import { defineStore } from 'pinia';
import { upgradeMember } from '@/api/customer';

export const useMemberStore = defineStore('member', {
  state: () => ({
    members: []
  }),
  actions: {
    // 升级会员
    async upgradeMember(data) {
      return await upgradeMember(data);
    }
    // 如后端有会员列表接口，可补充fetchMembers
  }
}); 